package chapter3.No3_3_类ThreadLocal的使用.demo4;

/**
 * Created by Administrator on 2016/11/20.
 */
public class ThreadA extends Thread {
    @Override
    public void run() {
        for (int i = 0; i < 10; i++) {
            System.out.println("A线程的值是："+Tools.tl.get());
            try {
                Thread.sleep(100);
            } catch (InterruptedException e) {
                e.printStackTrace();
            }
        }
    }
}
